import { buildService, openBuildService } from "../../helper/service";

// 值类型为String或Object,String为url(method),Object同axios(config)参数支持相同,data和params只能为对象类型
const settings = {


}
const platSettings = {
  //二维码分类列表
  getclassList: {
    url: '/web/v1/qrcode/business_cate/list',
    method: 'get'
  },
  //二维码下载列表
  getuploadList: {
    url: '/web/v1/qrcode/download/list',
    method: 'get'
  },
  //二维码单个下载
  uploadOnecode: {
    url: '/web/v1/qrcode/download/single',
    method: 'get'
  },
  //二维码下载录入码
  uploadEnterCode: {
    url: '/web/v1/qrcode/download/input',
    method: 'get'
  },
  //二维码下载全部
  uploadAll: {
    url: '/web/v1/qrcode/download/batch',
    method: 'get'
  },
  //下载二维码压缩包
  uploadCode: {
    url: '/web/v1/qrcode/download/zip_url',
    method: 'get'
  },
  //获取下载url
  uploadUrl: {
    url: '/web/v1/qrcode/download/dump_batch',
    method: 'get'
  },
}
export default { ...openBuildService(settings), ...buildService(platSettings) };